	<div style="width:100%;background:#f4f4f4;border-bottom:#ddd 1px solid; height:20px; color:gray">
	<div style="float:left; margin-left:30px"><a href="../" class="gray">好恰婆</a> | <a href="./" class="gray">巨蟹座</a> | 更多..
	</div>
	<?if( isset($_SESSION['user_id']) ) { // 已登录 ?>
	<div style="float:right; margin-right:80px"><font color=red><?echo $_SESSION['truename'];?></font>，您已经光临本店 <font color=red><?echo $_SESSION['login_count'];?></font> 次，商品定单 <font color=red><?echo $_SESSION['order_count'];?></font> 个；<a href="custinfo.php" class="gray" style='color:#ff6600'>个人信息</a> |&nbsp;<a href="logout.php" class="gray">注销登录</a></div>
	<?} else {?>
	<div style="float:right; margin-right:80px">亲！欢迎您光临本站购买产品。<a href="login.php" class="gray" style='color:#ff6600'>老顾客登录</a> |&nbsp;<a href="#" onclick="add_favor('http://www.haoqiabo.com/juxiezuo', '巨蟹座 - 长沙本地最专业的海鲜水产直销平台'); return false" class="gray">加入收藏夹</a></div>
	<?}?>
	</div>
	<script src="js/add_favor.js"></script>
	<table width="900px" align=center>
		<tr>
		<td align=left width="65%"><a href='./' title='返回首页'><img src="images/logo_left.jpg"></a></td>
		<td align=right width="35%" valign=bottom >
		<img src="images/logo_right.jpg" title="客服热线：每周一至周日(08:30-18:00)"></td>
		</tr>
	</table>
	<div style="width:100%;background:#86d760;border-top:#ddd 5px; height:40px; text-align:center; line-height:40px; color:gray; font-weight:bold">
	<a href="main.php" class="top_navi" <?if($navi_page_id=="index") echo "style='color:#ff3300'"?>>快速购买</a>　　<a href="order.php" class="top_navi"  <?if($navi_page_id=="order") echo "style='color:#ff3300'"?>>我的定单</a>　　<a href="intro.php" class="top_navi"  <?if($navi_page_id=="intro") echo "style='color:#ff3300'"?>>实体门店</a>　　<a href="service.php" class="top_navi"  <?if($navi_page_id=="service") echo "style='color:#ff3300'"?>>服务中心</a>　　<a href="about.php" class="top_navi"  <?if($navi_page_id=="about") echo "style='color:#ff3300'"?>>关于我们</a>
	</div>